package com.aspose.cells;

class zbpv implements zaia {
   private String a;
   private boolean b;
   private boolean c;

   zbpv(String var1, boolean var2) {
      this(var1, b(var1), var2);
   }

   zbpv(String var1, boolean var2, boolean var3) {
      this.b = var2;
      this.c = var3;
      if (var3) {
         this.a = var1.toUpperCase();
      } else {
         this.a = var1;
      }

   }

   public boolean a(String var1) {
      if (this.b) {
         return zbpt.a(this.a, var1, this.c) == 0;
      } else {
         return this.c ? com.aspose.cells.b.a.zv.b(var1.toUpperCase(), this.a) : com.aspose.cells.b.a.zv.b(var1, this.a);
      }
   }

   private static boolean b(String var0) {
      return com.aspose.cells.b.a.zv.a(var0, new char[]{'?', '*'}) != -1;
   }
}
